<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>快照对比页面,情绪计算</title>
<style type="text/css">
table.gridtable {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	color: #333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}

table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}

tr:hover td {
	background: none;
}

tr:hover {
	background-color: none;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}
#myDiv { 
     top: 0px;
     right: 0;
     background-color: #f1f1f1;
     padding: 10px;
     overflow-y:auto;
   }
</style>
<meta charset="UTF-8">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/grid1.0.js"></script>
</head>
<body>
<button   id="bt1">同步机构持股数据(4-6小时)</button>
<button   id="bt2">更新市值（3分钟）</button>
<button   id="addSN">更新概念（4-6小时）</button>
<button   id="addChanping">产品和行业</button>
<script type="text/javascript">


	$("#addChanping").click(function(){ 
		   $.ajax({
				type : "get",
				url : "${pageContext.request.contextPath}/addChanping",  
				dataType:'text', 
				success : function(msg) {  
					 alert(msg);
				}
			}); 
		   
	});
   $("#bt1").click(function(){ 
	   $.ajax({
			type : "get",
			url : "${pageContext.request.contextPath}/tongbujigousuju",  
			dataType:'text', 
			success : function(msg) {  
				 alert(msg);
			}
		}); 
	   
   });

   $("#bt2").click(function(){ 
	   $.ajax({
			type : "get",
			url : "${pageContext.request.contextPath}/addGNShiZhi",  
			dataType:'text', 
			success : function(msg) {  
				 alert(msg);
			}
		}); 
	   
   });
   $("#addSN").click(function(){
		$.ajax({
		   type: "get",
		   url : "${pageContext.request.contextPath}/addGN",   
		 
		   success: function(msg){
			    alert(msg);
		   }
		}); 
	});


</script>
</body>
</html>